let testPrefix = 'http://tifr.gzctdi-dev.com'
let prodPrefix = 'http://222.87.1.99:20008'
let devPrefix = ''
let prefix = ''
// http://222.87.1.99:20008/mtacl/file/getViewUrl
switch (process.env.NODE_ENV) {
    case 'dev':
        prefix = testPrefix
        break;
    case 'test':
        prefix = testPrefix
        break;
    default:
        prefix = testPrefix
        break;
}
const AIP_CONFIG = {
    MAIN: {
        getList: prefix + '/inforelease/ledBasePage/get',
        getInterfaceList: prefix + '/inforelease/ledInterfaceDetail/get',
        releaseLedInfo: prefix + '/inforelease/ledBasePage/releaseLedInfo',
        updateOrSave: prefix + '/inforelease/ledInterfaceDetail/updateOrSave',
        updateByDtoReturnId: prefix + '/inforelease/ledBasePage/updateByDtoReturnId',
        videoAtlas: prefix + '/mtacl/file/download/',
        videoBase: prefix + '/inforelease/inforeleaseVideoLibrary/page',
        uploadImg: prefix + '/mtacl/file/upload',
        getViewUrl: prefix + '/mtacl/file/getViewUrl'
    }
}

export default AIP_CONFIG